package com.hxzy.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;
import java.util.UUID;

/**
 * @Author wy
 * @Description TODO
 * @Date 2023/10/12 9:29
 * @Version 1.0
 */
@RestController
public class OrderController {

    @PostMapping(value = "/order/create")
    public String createOrder(@RequestBody Map<String,Object> orderMap){
        System.out.println("下订单，信息是");
        System.out.println(orderMap.toString());
        return UUID.randomUUID().toString();
    }
}
